require 'game_engine'

game_engine = GameEngine.new

player = Player.new 1
game_engine.add_player player

@strategy = "puts 'first'"
game_engine.update_player_strategy 1, @strategy

game_thread = Thread.new { while true do game_engine.use_player_startegies; sleep 5 end}


@strategy = "puts 'second'"
game_engine.update_player_strategy 1, @strategy

game_thread.join
